home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIRadioButtonGroups.xh < prev    next >
Text File  |  1996-05-01  |  38KB  |  1,188 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIRadioButtonGroups.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIRadioButtonGroup_xh
  11. #define SOM_HIRadioButtonGroup_xh
  12.  
  13. class HIRadioButtonGroup;
  14.  
  15. #define HIRadioButtonGroup_MajorVersion 0
  16. #define HIRadioButtonGroup_MinorVersion 0
  17.  
  18. /*
  19.  * Passthru lines: File: "C.xh", "before"
  20.  */
  21. #include <HIRadioButtonGroupTypes.h>
  22.  
  23. /* C++ SOM defs */
  24. #include <somcls.xh>
  25. #include <somcm.xh>
  26.  
  27. /* C++ parent defs */
  28. #ifndef SOM_HIPanel_xh
  29. #include <HIPanels.xh>
  30. #endif
  31.  
  32. #ifndef HIRadioButtonGroup_API
  33. #define HIRadioButtonGroup_API
  34. /*
  35.  * -- The Class API
  36.  */
  37.  
  38. /*
  39.  * Start of user-defined types:
  40.  */
  41. class SOMClass;
  42. class SOMObject;
  43. class HIWindow;
  44. class HIEmbeddingPanel;
  45. class HIRadioButton;
  46.  
  47. /*
  48.  * End of user-defined types.
  49.  */
  50.  
  51. #ifdef OLDIBMSOMAPISUPPORT
  52. #define HIRadioButtonGroupCClassData HIRadioButtonGroupClassData
  53. #define HIRadioButtonGroupNewClass(major,minor) somNewVersionedClassReference(HIRadioButtonGroup,major,minor)
  54. #endif
  55.  
  56. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  57. #define HIRadioButtonGroupMetaClass SOMClass
  58.  
  59. #if PRAGMA_ALIGN_SUPPORTED
  60. #  pragma options align=power
  61. #endif
  62.  
  63. /* The API to the HIRadioButtonGroup class object, and the methods it introduces. */
  64. SOMEXTERN struct HIRadioButtonGroupClassDataStructure {
  65. #ifdef OLDIBMSOMAPISUPPORT
  66.     SOMClass            *classObject;    /* always zero, use somNewClassReference instead */
  67. #else
  68.     long zero;
  69. #endif
  70.     somStaticClassInfo *sci;
  71.     somDToken        instanceDataToken;
  72.     long reserved [3];
  73.     somMToken InitRadioButtonGroup;
  74.     somMToken GetRadioButtonCount;
  75.     somMToken GetRadioButton;
  76.     somMToken AddRadioButton;
  77.     somMToken DeleteRadioButton;
  78.     somMToken SelectRadioButton;
  79.     somMToken GetSelectedRadioButton;
  80. } SOMDLINK HIRadioButtonGroupClassData;
  81.  
  82. #if PRAGMA_ALIGN_SUPPORTED
  83. #  pragma options align=reset
  84. #endif
  85.  
  86. #if !defined(HIRadioButtonGroup_Class_Source) && !defined(SOM_Module_hiradiobuttongroups_Source)
  87. #if PRAGMA_IMPORT_SUPPORTED
  88. #pragma import list HIRadioButtonGroupClassData
  89. #endif
  90. #endif
  91.  
  92.  
  93. /*
  94.  * -- Typedefs for HIRadioButtonGroup Method Procedures
  95.  */
  96. SOMEXTERN {
  97. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_InitRadioButtonGroup)(HIRadioButtonGroup *somSelf, Environment *ev,
  98.         RefLabel* identifier,
  99.         HIWindow* window,
  100.         Point* anchor,
  101.         SInt16 width,
  102.         ItemCount numRadioButtons);
  103. typedef ItemCount   (* SOMLINK somTD_HIRadioButtonGroup_GetRadioButtonCount)(HIRadioButtonGroup *somSelf, Environment *ev);
  104. typedef HIRadioButton*   (* SOMLINK somTD_HIRadioButtonGroup_GetRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
  105.         HIRadioButtonIndex radioButtonIndex);
  106. typedef HIRadioButton*   (* SOMLINK somTD_HIRadioButtonGroup_AddRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
  107.         HIRadioButtonIndex insertBeforeIndex);
  108. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_DeleteRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
  109.         HIRadioButtonIndex indexToDelete);
  110. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SelectRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
  111.         HIRadioButtonIndex radioButtonIndex);
  112. typedef HIRadioButtonIndex   (* SOMLINK somTD_HIRadioButtonGroup_GetSelectedRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev);
  113.  
  114. /*
  115.  * -- Typedefs for Inherited Methods
  116.  */
  117. typedef HIEmbeddingPanel*   (* SOMLINK somTD_HIRadioButtonGroup_GetEmbeddingParent)(HIRadioButtonGroup *somSelf, Environment *ev);
  118. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_InitPanel)(HIRadioButtonGroup *somSelf, Environment *ev,
  119.         RefLabel* identifier,
  120.         HIWindow* window,
  121.         Rect* bounds);
  122. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_RegisterInterestInAppleEvent)(HIRadioButtonGroup *somSelf, Environment *ev,
  123.         AEHandlerTableRef table,
  124.         AEEventClass eventClass,
  125.         AEEventID eventID,
  126.         HIEventRoutingType eventRouting);
  127. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_HasValidContent)(HIRadioButtonGroup *somSelf, Environment *ev);
  128. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_GetDeepCollectionItemData)(HIRadioButtonGroup *somSelf, Environment *ev,
  129.         CollectionTag tag,
  130.         SInt32 id,
  131.         ByteCount sizeAllowed,
  132.         ByteCount* sizeReturned,
  133.         void* itemData);
  134. typedef HIWindow*   (* SOMLINK somTD_HIRadioButtonGroup_GetWindow)(HIRadioButtonGroup *somSelf, Environment *ev);
  135. typedef CGrafPtr   (* SOMLINK somTD_HIRadioButtonGroup_GetPort)(HIRadioButtonGroup *somSelf, Environment *ev);
  136. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_GetRefLabel)(HIRadioButtonGroup *somSelf, Environment *ev,
  137.         RefLabel* identifier);
  138. typedef Collection   (* SOMLINK somTD_HIRadioButtonGroup_GetCollection)(HIRadioButtonGroup *somSelf, Environment *ev);
  139. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_Init)(HIRadioButtonGroup *somSelf, Environment *ev,
  140.         RefLabel* identifier,
  141.         Rect* boundingRect);
  142. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Terminate)(HIRadioButtonGroup *somSelf, Environment *ev);
  143. typedef HIObject*   (* SOMLINK somTD_HIRadioButtonGroup_Clone)(HIRadioButtonGroup *somSelf, Environment *ev);
  144. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Release)(HIRadioButtonGroup *somSelf, Environment *ev);
  145. typedef ItemCount   (* SOMLINK somTD_HIRadioButtonGroup_GetOwnerCount)(HIRadioButtonGroup *somSelf, Environment *ev);
  146. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_InitFromAERecord)(HIRadioButtonGroup *somSelf, Environment *ev,
  147.         AESubDesc* baseInitializerData,
  148.         AESubDesc* initializerDataForClass,
  149.         HIAERecordDataFormat dataFormat);
  150. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_WriteToAERecord)(HIRadioButtonGroup *somSelf, Environment *ev,
  151.         AERecord* dataForSubclass,
  152.         AERecord* objectData,
  153.         HIAERecordDataFormat dataFormat);
  154. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_CalculateOptimalSize)(HIRadioButtonGroup *somSelf, Environment *ev,
  155.         SInt16* optimalWidth,
  156.         SInt16* optimalHeight);
  157. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_GetBoundingRect)(HIRadioButtonGroup *somSelf, Environment *ev,
  158.         HICoordinateSystem coordinate,
  159.         Rect* boundingRect);
  160. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetBoundingRect)(HIRadioButtonGroup *somSelf, Environment *ev,
  161.         HICoordinateSystem coordinate,
  162.         Rect* newBoundingRect);
  163. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetPosition)(HIRadioButtonGroup *somSelf, Environment *ev,
  164.         HICoordinateSystem coordinate,
  165.         Point* newPosition);
  166. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetSize)(HIRadioButtonGroup *somSelf, Environment *ev,
  167.         SInt16 width,
  168.         SInt16 height);
  169. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_GetUpdateRect)(HIRadioButtonGroup *somSelf, Environment *ev,
  170.         HICoordinateSystem coordinate,
  171.         Rect* updateRect);
  172. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Enable)(HIRadioButtonGroup *somSelf, Environment *ev);
  173. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Disable)(HIRadioButtonGroup *somSelf, Environment *ev);
  174. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_IsEnabled)(HIRadioButtonGroup *somSelf, Environment *ev);
  175. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Show)(HIRadioButtonGroup *somSelf, Environment *ev);
  176. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Hide)(HIRadioButtonGroup *somSelf, Environment *ev);
  177. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_IsVisible)(HIRadioButtonGroup *somSelf, Environment *ev);
  178. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleAppleEvent)(HIRadioButtonGroup *somSelf, Environment *ev,
  179.         AEEventClass eventClass,
  180.         AEEventID eventID,
  181.         AppleEvent* theEvent,
  182.         AppleEvent* reply,
  183.         AEHandlerTableRef handlerTableRef);
  184. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleActivate)(HIRadioButtonGroup *somSelf, Environment *ev,
  185.         AppleEvent* theEvent,
  186.         AppleEvent* reply,
  187.         AEHandlerTableRef handlerTableRef);
  188. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleDeactivate)(HIRadioButtonGroup *somSelf, Environment *ev,
  189.         AppleEvent* theEvent,
  190.         AppleEvent* reply,
  191.         AEHandlerTableRef handlerTableRef);
  192. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleNavigation)(HIRadioButtonGroup *somSelf, Environment *ev,
  193.         SInt8 key,
  194.         SInt8 keyCode,
  195.         EventModifiers modifiers,
  196.         AppleEvent* theEvent,
  197.         AppleEvent* reply,
  198.         AEHandlerTableRef handlerTableRef);
  199. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseDownInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  200.         Point* portLocalWhere,
  201.         EventModifiers modifiers,
  202.         AppleEvent* theEvent,
  203.         AppleEvent* reply,
  204.         AEHandlerTableRef handlerTableRef);
  205. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseMovedInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  206.         Point* portLocalWhere,
  207.         EventModifiers modifiers,
  208.         AppleEvent* theEvent,
  209.         AppleEvent* reply,
  210.         AEHandlerTableRef handlerTableRef);
  211. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseStoppedMovingInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  212.         Point* portLocalWhere,
  213.         EventModifiers modifiers,
  214.         AppleEvent* theEvent,
  215.         AppleEvent* reply,
  216.         AEHandlerTableRef handlerTableRef);
  217. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseUpInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  218.         Point* portLocalWhere,
  219.         EventModifiers modifiers,
  220.         AppleEvent* theEvent,
  221.         AppleEvent* reply,
  222.         AEHandlerTableRef handlerTableRef);
  223. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_TakeUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
  224. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_ReleaseUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
  225. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_HasUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
  226. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_CanReleaseUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
  227. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetUserInputFocusFlags)(HIRadioButtonGroup *somSelf, Environment *ev,
  228.         HIUserInputFocusFlags flags);
  229. typedef HIUserInputFocusFlags   (* SOMLINK somTD_HIRadioButtonGroup_GetUserInputFocusFlags)(HIRadioButtonGroup *somSelf, Environment *ev);
  230. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_SetTitle)(HIRadioButtonGroup *somSelf, Environment *ev,
  231.         ConstHIImageRef title,
  232.         HIAdoptionFlags disposalAdoptionFlags);
  233. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_GetTitle)(HIRadioButtonGroup *somSelf, Environment *ev,
  234.         HIImageRef* title);
  235. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Draw)(HIRadioButtonGroup *somSelf, Environment *ev,
  236.         CGrafPtr whichPort,
  237.         RgnHandle drawRgn);
  238. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Erase)(HIRadioButtonGroup *somSelf, Environment *ev,
  239.         CGrafPtr whichPort,
  240.         RgnHandle eraseRgn);
  241. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Invalidate)(HIRadioButtonGroup *somSelf, Environment *ev);
  242. typedef HIDrawingMode   (* SOMLINK somTD_HIRadioButtonGroup_GetDrawingMode)(HIRadioButtonGroup *somSelf, Environment *ev);
  243. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetDrawingMode)(HIRadioButtonGroup *somSelf, Environment *ev,
  244.         HIDrawingMode drawingMode);
  245. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetBackgroundPattern)(HIRadioButtonGroup *somSelf, Environment *ev,
  246.         PixPatHandle backgroundPattern);
  247. typedef PixPatHandle   (* SOMLINK somTD_HIRadioButtonGroup_GetBackgroundPattern)(HIRadioButtonGroup *somSelf, Environment *ev);
  248. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Cut)(HIRadioButtonGroup *somSelf, Environment *ev);
  249. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Copy)(HIRadioButtonGroup *somSelf, Environment *ev);
  250. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Paste)(HIRadioButtonGroup *somSelf, Environment *ev);
  251. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_Clear)(HIRadioButtonGroup *somSelf, Environment *ev);
  252. typedef HIClipboardSupportFlags   (* SOMLINK somTD_HIRadioButtonGroup_GetClipboardSupportFlags)(HIRadioButtonGroup *somSelf, Environment *ev);
  253. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_AddStateChangeCallback)(HIRadioButtonGroup *somSelf, Environment *ev,
  254.         HIStateChangeCallbackProcPtr changedStateCallback,
  255.         HIStateChangeCallbackRef* newCallbackRef);
  256. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_RemoveStateChangeCallback)(HIRadioButtonGroup *somSelf, Environment *ev,
  257.         HIStateChangeCallbackRef callbackRefToRemove);
  258. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_GetHIObjectFromRefLabel)(Environment *ev,
  259.         RefLabel* identifier,
  260.         ItemCount requestedObjects,
  261.         ItemCount* totalObjects,
  262.         HIObject** theObjects);
  263. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_GetNewHIObject)(Environment *ev,
  264.         AESubDesc* objectInitializer,
  265.         HIObject** newObject);
  266. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_GetNewHIObjectFromResource)(Environment *ev,
  267.         ResID objectInitializerResourceID,
  268.         HIObject** newObject);
  269. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_DrawContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  270.         CGrafPtr whichPort,
  271.         RgnHandle drawRgn);
  272. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_EraseContent)(HIRadioButtonGroup *somSelf, Environment *ev,
  273.         CGrafPtr whichPort,
  274.         RgnHandle regionToErase);
  275. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_TranslatePoint)(HIRadioButtonGroup *somSelf, Environment *ev,
  276.         HICoordinateSystem translateFrom,
  277.         HICoordinateSystem translateTo,
  278.         Point* sourcePoint,
  279.         Point* translatedPoint);
  280. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_TranslateRect)(HIRadioButtonGroup *somSelf, Environment *ev,
  281.         HICoordinateSystem translateFrom,
  282.         HICoordinateSystem translateTo,
  283.         Rect* sourceRect,
  284.         Rect* translatedRect);
  285. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_StateChanged)(HIRadioButtonGroup *somSelf, Environment *ev,
  286.         HIStateChangeCodeCreator selectorCreator,
  287.         HIStateChangeCode changedCode);
  288. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_SetClipboardSupportFlags)(HIRadioButtonGroup *somSelf, Environment *ev,
  289.         HIClipboardSupportFlags flags);
  290. typedef OSStatus   (* SOMLINK somTD_HIRadioButtonGroup_Verify)(HIRadioButtonGroup *somSelf, Environment *ev);
  291. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_somInit)(HIRadioButtonGroup *somSelf);
  292. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_somUninit)(HIRadioButtonGroup *somSelf);
  293. typedef SOMObject*   (* SOMLINK somTD_HIRadioButtonGroup_somDuplicateReference)(HIRadioButtonGroup *somSelf);
  294. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somCompareReference)(HIRadioButtonGroup *somSelf,
  295.         SOMObject* anObject);
  296. typedef SOMObject*   (* SOMLINK somTD_HIRadioButtonGroup_somRelease)(HIRadioButtonGroup *somSelf);
  297. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_somFree)(HIRadioButtonGroup *somSelf);
  298. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somCanDelete)(HIRadioButtonGroup *somSelf);
  299. typedef SOMClass*   (* SOMLINK somTD_HIRadioButtonGroup_somGetClass)(HIRadioButtonGroup *somSelf);
  300. typedef corbastring   (* SOMLINK somTD_HIRadioButtonGroup_somGetClassName)(HIRadioButtonGroup *somSelf);
  301. typedef long   (* SOMLINK somTD_HIRadioButtonGroup_somGetSize)(HIRadioButtonGroup *somSelf);
  302. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somIsA)(HIRadioButtonGroup *somSelf,
  303.         SOMClass* aClassObj);
  304. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somRespondsTo)(HIRadioButtonGroup *somSelf,
  305.         somId mId);
  306. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somIsInstanceOf)(HIRadioButtonGroup *somSelf,
  307.         SOMClass* aClassObj);
  308. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somDispatch)(HIRadioButtonGroup *somSelf,
  309.         somToken* retValue,
  310.         somId methodId,
  311.         va_list ap);
  312. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somClassDispatch)(HIRadioButtonGroup *somSelf,
  313.         SOMClass* clsObj,
  314.         somToken* retValue,
  315.         somId methodId,
  316.         va_list ap);
  317. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somCastObj)(HIRadioButtonGroup *somSelf,
  318.         SOMClass* cls);
  319. typedef boolean   (* SOMLINK somTD_HIRadioButtonGroup_somResetObj)(HIRadioButtonGroup *somSelf);
  320. typedef SOMObject*   (* SOMLINK somTD_HIRadioButtonGroup_somPrintSelf)(HIRadioButtonGroup *somSelf);
  321. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_somDumpSelf)(HIRadioButtonGroup *somSelf,
  322.         long level);
  323. typedef void   (* SOMLINK somTD_HIRadioButtonGroup_somDumpSelfInt)(HIRadioButtonGroup *somSelf,
  324.         long level);
  325. }
  326.  
  327. #endif /* HIRadioButtonGroup_API */
  328.  
  329.  
  330. /*
  331.  * -- This emitter treats Method Tokens as Thunks by default.
  332.  * -- Use the sc modifier "nothunks" to change this default
  333.  */
  334. #undef somresolve_
  335. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  336.  
  337. /*
  338.  * -- The C++ Wrapper Class for HIRadioButtonGroup
  339.  */
  340. class HIRadioButtonGroup : public HIPanel
  341. {
  342. public:
  343.  
  344. // HIRadioButtonGroup::new registers use of the class object, and then uses somNew
  345. // to allocate memory and load the object method table pointer. 
  346. void *operator new(size_t size)
  347. {
  348.     SOM_IgnoreWarning(size);
  349.     // Allocate memory using the default allocator for HIRadioButtonGroup, and
  350.     // clear mem & set method table pointer, call basic initialization
  351.     return (void*) somNewObject(HIRadioButtonGroup);
  352. }
  353.  
  354. // HIRadioButtonGroup::delete uses the default deallocator for the object's class.
  355. void operator delete(void * obj)
  356. {
  357.     if (obj) {
  358.         SOM_Resolve(obj,SOMObject,somFree)
  359.            ( (SOMObject*) obj );
  360.     }
  361. }
  362.  
  363. /* method: InitRadioButtonGroup */
  364. OSStatus   InitRadioButtonGroup(Environment *ev,
  365.         RefLabel* identifier,
  366.         HIWindow* window,
  367.         Point* anchor,
  368.         SInt16 width,
  369.         ItemCount numRadioButtons)
  370. {
  371.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,InitRadioButtonGroup)
  372.     (this,ev,identifier,window,anchor,width,numRadioButtons);
  373. }
  374.  
  375. /* method: GetRadioButtonCount */
  376. ItemCount   GetRadioButtonCount(Environment *ev)
  377. {
  378.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetRadioButtonCount)
  379.     (this,ev);
  380. }
  381.  
  382. /* method: GetRadioButton */
  383. HIRadioButton*   GetRadioButton(Environment *ev,
  384.         HIRadioButtonIndex radioButtonIndex)
  385. {
  386.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetRadioButton)
  387.     (this,ev,radioButtonIndex);
  388. }
  389.  
  390. /* method: AddRadioButton */
  391. HIRadioButton*   AddRadioButton(Environment *ev,
  392.         HIRadioButtonIndex insertBeforeIndex)
  393. {
  394.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,AddRadioButton)
  395.     (this,ev,insertBeforeIndex);
  396. }
  397.  
  398. /* method: DeleteRadioButton */
  399. OSStatus   DeleteRadioButton(Environment *ev,
  400.         HIRadioButtonIndex indexToDelete)
  401. {
  402.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,DeleteRadioButton)
  403.     (this,ev,indexToDelete);
  404. }
  405.  
  406. /* method: SelectRadioButton */
  407. void   SelectRadioButton(Environment *ev,
  408.         HIRadioButtonIndex radioButtonIndex)
  409. {
  410.    SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,SelectRadioButton)
  411.     (this,ev,radioButtonIndex);
  412. }
  413.  
  414. /* method: GetSelectedRadioButton */
  415. HIRadioButtonIndex   GetSelectedRadioButton(Environment *ev)
  416. {
  417.    return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetSelectedRadioButton)
  418.     (this,ev);
  419. }
  420.  
  421.  
  422. /*
  423.  * -- Inherited methods
  424.  */
  425. /* method: GetEmbeddingParent */
  426. HIEmbeddingPanel*   GetEmbeddingParent(Environment *ev)
  427. {
  428.    return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,GetEmbeddingParent)
  429.     (this,ev);
  430. }
  431.  
  432. /* method: InitPanel */
  433. OSStatus   InitPanel(Environment *ev,
  434.         RefLabel* identifier,
  435.         HIWindow* window,
  436.         Rect* bounds)
  437. {
  438.    return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,InitPanel)
  439.     (this,ev,identifier,window,bounds);
  440. }
  441.  
  442. /* method: RegisterInterestInAppleEvent */
  443. OSStatus   RegisterInterestInAppleEvent(Environment *ev,
  444.         AEHandlerTableRef table,
  445.         AEEventClass eventClass,
  446.         AEEventID eventID,
  447.         HIEventRoutingType eventRouting)
  448. {
  449.    return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,RegisterInterestInAppleEvent)
  450.     (this,ev,table,eventClass,eventID,eventRouting);
  451. }
  452.  
  453. /* method: HasValidContent */
  454. boolean   HasValidContent(Environment *ev)
  455. {
  456.    return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,HasValidContent)
  457.     (this,ev);
  458. }
  459.  
  460. /* method: GetDeepCollectionItemData */
  461. OSStatus   GetDeepCollectionItemData(Environment *ev,
  462.         CollectionTag tag,
  463.         SInt32 id,
  464.         ByteCount sizeAllowed,
  465.         ByteCount* sizeReturned,
  466.         void* itemData)
  467. {
  468.    return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,GetDeepCollectionItemData)
  469.     (this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
  470. }
  471.  
  472. /* method: GetWindow */
  473. HIWindow*   GetWindow(Environment *ev)
  474. {
  475.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetWindow)
  476.     (this,ev);
  477. }
  478.  
  479. /* method: GetPort */
  480. CGrafPtr   GetPort(Environment *ev)
  481. {
  482.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetPort)
  483.     (this,ev);
  484. }
  485.  
  486. /* method: GetRefLabel */
  487. void   GetRefLabel(Environment *ev,
  488.         RefLabel* identifier)
  489. {
  490.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetRefLabel)
  491.     (this,ev,identifier);
  492. }
  493.  
  494. /* method: GetCollection */
  495. Collection   GetCollection(Environment *ev)
  496. {
  497.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetCollection)
  498.     (this,ev);
  499. }
  500.  
  501. /* method: Init */
  502. OSStatus   Init(Environment *ev,
  503.         RefLabel* identifier,
  504.         Rect* boundingRect)
  505. {
  506.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Init)
  507.     (this,ev,identifier,boundingRect);
  508. }
  509.  
  510. /* method: Terminate */
  511. void   Terminate(Environment *ev)
  512. {
  513.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Terminate)
  514.     (this,ev);
  515. }
  516.  
  517. /* method: Clone */
  518. HIObject*   Clone(Environment *ev)
  519. {
  520.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Clone)
  521.     (this,ev);
  522. }
  523.  
  524. /* method: Release */
  525. void   Release(Environment *ev)
  526. {
  527.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Release)
  528.     (this,ev);
  529. }
  530.  
  531. /* method: GetOwnerCount */
  532. ItemCount   GetOwnerCount(Environment *ev)
  533. {
  534.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetOwnerCount)
  535.     (this,ev);
  536. }
  537.  
  538. /* method: InitFromAERecord */
  539. OSStatus   InitFromAERecord(Environment *ev,
  540.         AESubDesc* baseInitializerData,
  541.         AESubDesc* initializerDataForClass,
  542.         HIAERecordDataFormat dataFormat)
  543. {
  544.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,InitFromAERecord)
  545.     (this,ev,baseInitializerData,initializerDataForClass,dataFormat);
  546. }
  547.  
  548. /* method: WriteToAERecord */
  549. OSStatus   WriteToAERecord(Environment *ev,
  550.         AERecord* dataForSubclass,
  551.         AERecord* objectData,
  552.         HIAERecordDataFormat dataFormat)
  553. {
  554.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,WriteToAERecord)
  555.     (this,ev,dataForSubclass,objectData,dataFormat);
  556. }
  557.  
  558. /* method: CalculateOptimalSize */
  559. void   CalculateOptimalSize(Environment *ev,
  560.         SInt16* optimalWidth,
  561.         SInt16* optimalHeight)
  562. {
  563.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,CalculateOptimalSize)
  564.     (this,ev,optimalWidth,optimalHeight);
  565. }
  566.  
  567. /* method: GetBoundingRect */
  568. void   GetBoundingRect(Environment *ev,
  569.         HICoordinateSystem coordinate,
  570.         Rect* boundingRect)
  571. {
  572.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetBoundingRect)
  573.     (this,ev,coordinate,boundingRect);
  574. }
  575.  
  576. /* method: SetBoundingRect */
  577. void   SetBoundingRect(Environment *ev,
  578.         HICoordinateSystem coordinate,
  579.         Rect* newBoundingRect)
  580. {
  581.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetBoundingRect)
  582.     (this,ev,coordinate,newBoundingRect);
  583. }
  584.  
  585. /* method: SetPosition */
  586. void   SetPosition(Environment *ev,
  587.         HICoordinateSystem coordinate,
  588.         Point* newPosition)
  589. {
  590.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetPosition)
  591.     (this,ev,coordinate,newPosition);
  592. }
  593.  
  594. /* method: SetSize */
  595. void   SetSize(Environment *ev,
  596.         SInt16 width,
  597.         SInt16 height)
  598. {
  599.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetSize)
  600.     (this,ev,width,height);
  601. }
  602.  
  603. /* method: GetUpdateRect */
  604. void   GetUpdateRect(Environment *ev,
  605.         HICoordinateSystem coordinate,
  606.         Rect* updateRect)
  607. {
  608.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetUpdateRect)
  609.     (this,ev,coordinate,updateRect);
  610. }
  611.  
  612. /* method: Enable */
  613. void   Enable(Environment *ev)
  614. {
  615.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Enable)
  616.     (this,ev);
  617. }
  618.  
  619. /* method: Disable */
  620. void   Disable(Environment *ev)
  621. {
  622.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Disable)
  623.     (this,ev);
  624. }
  625.  
  626. /* method: IsEnabled */
  627. boolean   IsEnabled(Environment *ev)
  628. {
  629.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,IsEnabled)
  630.     (this,ev);
  631. }
  632.  
  633. /* method: Show */
  634. void   Show(Environment *ev)
  635. {
  636.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Show)
  637.     (this,ev);
  638. }
  639.  
  640. /* method: Hide */
  641. void   Hide(Environment *ev)
  642. {
  643.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Hide)
  644.     (this,ev);
  645. }
  646.  
  647. /* method: IsVisible */
  648. boolean   IsVisible(Environment *ev)
  649. {
  650.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,IsVisible)
  651.     (this,ev);
  652. }
  653.  
  654. /* method: HandleAppleEvent */
  655. OSStatus   HandleAppleEvent(Environment *ev,
  656.         AEEventClass eventClass,
  657.         AEEventID eventID,
  658.         AppleEvent* theEvent,
  659.         AppleEvent* reply,
  660.         AEHandlerTableRef handlerTableRef)
  661. {
  662.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleAppleEvent)
  663.     (this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
  664. }
  665.  
  666. /* method: HandleActivate */
  667. OSStatus   HandleActivate(Environment *ev,
  668.         AppleEvent* theEvent,
  669.         AppleEvent* reply,
  670.         AEHandlerTableRef handlerTableRef)
  671. {
  672.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleActivate)
  673.     (this,ev,theEvent,reply,handlerTableRef);
  674. }
  675.  
  676. /* method: HandleDeactivate */
  677. OSStatus   HandleDeactivate(Environment *ev,
  678.         AppleEvent* theEvent,
  679.         AppleEvent* reply,
  680.         AEHandlerTableRef handlerTableRef)
  681. {
  682.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleDeactivate)
  683.     (this,ev,theEvent,reply,handlerTableRef);
  684. }
  685.  
  686. /* method: HandleNavigation */
  687. OSStatus   HandleNavigation(Environment *ev,
  688.         SInt8 key,
  689.         SInt8 keyCode,
  690.         EventModifiers modifiers,
  691.         AppleEvent* theEvent,
  692.         AppleEvent* reply,
  693.         AEHandlerTableRef handlerTableRef)
  694. {
  695.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleNavigation)
  696.     (this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
  697. }
  698.  
  699. /* method: HandleMouseDownInContent */
  700. OSStatus   HandleMouseDownInContent(Environment *ev,
  701.         Point* portLocalWhere,
  702.         EventModifiers modifiers,
  703.         AppleEvent* theEvent,
  704.         AppleEvent* reply,
  705.         AEHandlerTableRef handlerTableRef)
  706. {
  707.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseDownInContent)
  708.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  709. }
  710.  
  711. /* method: HandleMouseMovedInContent */
  712. OSStatus   HandleMouseMovedInContent(Environment *ev,
  713.         Point* portLocalWhere,
  714.         EventModifiers modifiers,
  715.         AppleEvent* theEvent,
  716.         AppleEvent* reply,
  717.         AEHandlerTableRef handlerTableRef)
  718. {
  719.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseMovedInContent)
  720.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  721. }
  722.  
  723. /* method: HandleMouseStoppedMovingInContent */
  724. OSStatus   HandleMouseStoppedMovingInContent(Environment *ev,
  725.         Point* portLocalWhere,
  726.         EventModifiers modifiers,
  727.         AppleEvent* theEvent,
  728.         AppleEvent* reply,
  729.         AEHandlerTableRef handlerTableRef)
  730. {
  731.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseStoppedMovingInContent)
  732.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  733. }
  734.  
  735. /* method: HandleMouseUpInContent */
  736. OSStatus   HandleMouseUpInContent(Environment *ev,
  737.         Point* portLocalWhere,
  738.         EventModifiers modifiers,
  739.         AppleEvent* theEvent,
  740.         AppleEvent* reply,
  741.         AEHandlerTableRef handlerTableRef)
  742. {
  743.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseUpInContent)
  744.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  745. }
  746.  
  747. /* method: TakeUserInputFocus */
  748. void   TakeUserInputFocus(Environment *ev)
  749. {
  750.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TakeUserInputFocus)
  751.     (this,ev);
  752. }
  753.  
  754. /* method: ReleaseUserInputFocus */
  755. void   ReleaseUserInputFocus(Environment *ev)
  756. {
  757.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,ReleaseUserInputFocus)
  758.     (this,ev);
  759. }
  760.  
  761. /* method: HasUserInputFocus */
  762. boolean   HasUserInputFocus(Environment *ev)
  763. {
  764.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HasUserInputFocus)
  765.     (this,ev);
  766. }
  767.  
  768. /* method: CanReleaseUserInputFocus */
  769. boolean   CanReleaseUserInputFocus(Environment *ev)
  770. {
  771.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,CanReleaseUserInputFocus)
  772.     (this,ev);
  773. }
  774.  
  775. /* method: SetUserInputFocusFlags */
  776. void   SetUserInputFocusFlags(Environment *ev,
  777.         HIUserInputFocusFlags flags)
  778. {
  779.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetUserInputFocusFlags)
  780.     (this,ev,flags);
  781. }
  782.  
  783. /* method: GetUserInputFocusFlags */
  784. HIUserInputFocusFlags   GetUserInputFocusFlags(Environment *ev)
  785. {
  786.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetUserInputFocusFlags)
  787.     (this,ev);
  788. }
  789.  
  790. /* method: SetTitle */
  791. OSStatus   SetTitle(Environment *ev,
  792.         ConstHIImageRef title,
  793.         HIAdoptionFlags disposalAdoptionFlags)
  794. {
  795.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetTitle)
  796.     (this,ev,title,disposalAdoptionFlags);
  797. }
  798.  
  799. /* method: GetTitle */
  800. OSStatus   GetTitle(Environment *ev,
  801.         HIImageRef* title)
  802. {
  803.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetTitle)
  804.     (this,ev,title);
  805. }
  806.  
  807. /* method: Draw */
  808. void   Draw(Environment *ev,
  809.         CGrafPtr whichPort,
  810.         RgnHandle drawRgn)
  811. {
  812.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Draw)
  813.     (this,ev,whichPort,drawRgn);
  814. }
  815.  
  816. /* method: Erase */
  817. void   Erase(Environment *ev,
  818.         CGrafPtr whichPort,
  819.         RgnHandle eraseRgn)
  820. {
  821.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Erase)
  822.     (this,ev,whichPort,eraseRgn);
  823. }
  824.  
  825. /* method: Invalidate */
  826. void   Invalidate(Environment *ev)
  827. {
  828.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Invalidate)
  829.     (this,ev);
  830. }
  831.  
  832. /* method: GetDrawingMode */
  833. HIDrawingMode   GetDrawingMode(Environment *ev)
  834. {
  835.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetDrawingMode)
  836.     (this,ev);
  837. }
  838.  
  839. /* method: SetDrawingMode */
  840. void   SetDrawingMode(Environment *ev,
  841.         HIDrawingMode drawingMode)
  842. {
  843.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetDrawingMode)
  844.     (this,ev,drawingMode);
  845. }
  846.  
  847. /* method: SetBackgroundPattern */
  848. void   SetBackgroundPattern(Environment *ev,
  849.         PixPatHandle backgroundPattern)
  850. {
  851.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetBackgroundPattern)
  852.     (this,ev,backgroundPattern);
  853. }
  854.  
  855. /* method: GetBackgroundPattern */
  856. PixPatHandle   GetBackgroundPattern(Environment *ev)
  857. {
  858.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetBackgroundPattern)
  859.     (this,ev);
  860. }
  861.  
  862. /* method: Cut */
  863. void   Cut(Environment *ev)
  864. {
  865.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Cut)
  866.     (this,ev);
  867. }
  868.  
  869. /* method: Copy */
  870. void   Copy(Environment *ev)
  871. {
  872.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Copy)
  873.     (this,ev);
  874. }
  875.  
  876. /* method: Paste */
  877. void   Paste(Environment *ev)
  878. {
  879.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Paste)
  880.     (this,ev);
  881. }
  882.  
  883. /* method: Clear */
  884. void   Clear(Environment *ev)
  885. {
  886.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Clear)
  887.     (this,ev);
  888. }
  889.  
  890. /* method: GetClipboardSupportFlags */
  891. HIClipboardSupportFlags   GetClipboardSupportFlags(Environment *ev)
  892. {
  893.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetClipboardSupportFlags)
  894.     (this,ev);
  895. }
  896.  
  897. /* method: AddStateChangeCallback */
  898. OSStatus   AddStateChangeCallback(Environment *ev,
  899.         HIStateChangeCallbackProcPtr changedStateCallback,
  900.         HIStateChangeCallbackRef* newCallbackRef)
  901. {
  902.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,AddStateChangeCallback)
  903.     (this,ev,changedStateCallback,newCallbackRef);
  904. }
  905.  
  906. /* method: RemoveStateChangeCallback */
  907. OSStatus   RemoveStateChangeCallback(Environment *ev,
  908.         HIStateChangeCallbackRef callbackRefToRemove)
  909. {
  910.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,RemoveStateChangeCallback)
  911.     (this,ev,callbackRefToRemove);
  912. }
  913.  
  914. /* noself procedure: GetHIObjectFromRefLabel */
  915. static OSStatus   GetHIObjectFromRefLabel(Environment *ev,
  916.         RefLabel* identifier,
  917.         ItemCount requestedObjects,
  918.         ItemCount* totalObjects,
  919.         HIObject** theObjects)
  920. {
  921. return ((somTD_HIRadioButtonGroup_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
  922.     (ev,identifier,requestedObjects,totalObjects,theObjects);
  923. }
  924.  
  925. /* noself procedure: GetNewHIObject */
  926. static OSStatus   GetNewHIObject(Environment *ev,
  927.         AESubDesc* objectInitializer,
  928.         HIObject** newObject)
  929. {
  930. return ((somTD_HIRadioButtonGroup_GetNewHIObject)HIObjectClassData.GetNewHIObject)
  931.     (ev,objectInitializer,newObject);
  932. }
  933.  
  934. /* noself procedure: GetNewHIObjectFromResource */
  935. static OSStatus   GetNewHIObjectFromResource(Environment *ev,
  936.         ResID objectInitializerResourceID,
  937.         HIObject** newObject)
  938. {
  939. return ((somTD_HIRadioButtonGroup_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
  940.     (ev,objectInitializerResourceID,newObject);
  941. }
  942.  
  943. /* method: DrawContent */
  944. void   DrawContent(Environment *ev,
  945.         CGrafPtr whichPort,
  946.         RgnHandle drawRgn)
  947. {
  948.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,DrawContent)
  949.     (this,ev,whichPort,drawRgn);
  950. }
  951.  
  952. /* method: EraseContent */
  953. void   EraseContent(Environment *ev,
  954.         CGrafPtr whichPort,
  955.         RgnHandle regionToErase)
  956. {
  957.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,EraseContent)
  958.     (this,ev,whichPort,regionToErase);
  959. }
  960.  
  961. /* method: TranslatePoint */
  962. void   TranslatePoint(Environment *ev,
  963.         HICoordinateSystem translateFrom,
  964.         HICoordinateSystem translateTo,
  965.         Point* sourcePoint,
  966.         Point* translatedPoint)
  967. {
  968.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TranslatePoint)
  969.     (this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
  970. }
  971.  
  972. /* method: TranslateRect */
  973. void   TranslateRect(Environment *ev,
  974.         HICoordinateSystem translateFrom,
  975.         HICoordinateSystem translateTo,
  976.         Rect* sourceRect,
  977.         Rect* translatedRect)
  978. {
  979.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TranslateRect)
  980.     (this,ev,translateFrom,translateTo,sourceRect,translatedRect);
  981. }
  982.  
  983. /* method: StateChanged */
  984. void   StateChanged(Environment *ev,
  985.         HIStateChangeCodeCreator selectorCreator,
  986.         HIStateChangeCode changedCode)
  987. {
  988.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,StateChanged)
  989.     (this,ev,selectorCreator,changedCode);
  990. }
  991.  
  992. /* method: SetClipboardSupportFlags */
  993. void   SetClipboardSupportFlags(Environment *ev,
  994.         HIClipboardSupportFlags flags)
  995. {
  996.    SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetClipboardSupportFlags)
  997.     (this,ev,flags);
  998. }
  999.  
  1000. /* method: Verify */
  1001. OSStatus   Verify(Environment *ev)
  1002. {
  1003.    return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Verify)
  1004.     (this,ev);
  1005. }
  1006.  
  1007. /* method: somInit */
  1008. void   somInit()
  1009. {
  1010.    SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somInit)
  1011.     (this);
  1012. }
  1013.  
  1014. /* method: somUninit */
  1015. void   somUninit()
  1016. {
  1017.    SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somUninit)
  1018.     (this);
  1019. }
  1020.  
  1021. /* method: somDuplicateReference */
  1022. SOMObject*   somDuplicateReference()
  1023. {
  1024.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDuplicateReference)
  1025.     (this);
  1026. }
  1027.  
  1028. /* method: somCompareReference */
  1029. boolean   somCompareReference(SOMObject* anObject)
  1030. {
  1031.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCompareReference)
  1032.     (this,anObject);
  1033. }
  1034.  
  1035. /* method: somRelease */
  1036. SOMObject*   somRelease()
  1037. {
  1038.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somRelease)
  1039.     (this);
  1040. }
  1041.  
  1042. /* method: somFree */
  1043. void   somFree()
  1044. {
  1045.    SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somFree)
  1046.     (this);
  1047. }
  1048.  
  1049. /* method: somCanDelete */
  1050. boolean   somCanDelete()
  1051. {
  1052.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCanDelete)
  1053.     (this);
  1054. }
  1055.  
  1056. /* method: somGetClass */
  1057. SOMClass*   somGetClass()
  1058. {
  1059.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetClass)
  1060.     (this);
  1061. }
  1062.  
  1063. /* method: somGetClassName */
  1064. corbastring   somGetClassName()
  1065. {
  1066.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetClassName)
  1067.     (this);
  1068. }
  1069.  
  1070. /* method: somGetSize */
  1071. long   somGetSize()
  1072. {
  1073.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetSize)
  1074.     (this);
  1075. }
  1076.  
  1077. /* method: somIsA */
  1078. boolean   somIsA(SOMClass* aClassObj)
  1079. {
  1080.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somIsA)
  1081.     (this,aClassObj);
  1082. }
  1083.  
  1084. /* method: somRespondsTo */
  1085. boolean   somRespondsTo(somId mId)
  1086. {
  1087.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somRespondsTo)
  1088.     (this,mId);
  1089. }
  1090.  
  1091. /* method: somIsInstanceOf */
  1092. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1093. {
  1094.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somIsInstanceOf)
  1095.     (this,aClassObj);
  1096. }
  1097.  
  1098. /* va_list method: somDispatch */
  1099. /* the va_list invocation form */
  1100. boolean   HIRadioButtonGroup_somDispatch(somToken* retValue,
  1101.         somId methodId,
  1102.         va_list ap)
  1103. {
  1104.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDispatch)
  1105.     (this,retValue,methodId,ap);
  1106. }
  1107.  
  1108. /* the varargs invocation form */
  1109. boolean   somDispatch(somToken* retValue,
  1110.         somId methodId,
  1111.         ...)
  1112. {
  1113.    va_list ap;
  1114.    va_start(ap, methodId);
  1115.       boolean __somResult = 
  1116.       (boolean) SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDispatch)
  1117.     (this,retValue,methodId,ap);
  1118.    va_end(ap);
  1119.    return __somResult;
  1120. }
  1121.  
  1122. /* va_list method: somClassDispatch */
  1123. /* the va_list invocation form */
  1124. boolean   HIRadioButtonGroup_somClassDispatch(SOMClass* clsObj,
  1125.         somToken* retValue,
  1126.         somId methodId,
  1127.         va_list ap)
  1128. {
  1129.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somClassDispatch)
  1130.     (this,clsObj,retValue,methodId,ap);
  1131. }
  1132.  
  1133. /* the varargs invocation form */
  1134. boolean   somClassDispatch(SOMClass* clsObj,
  1135.         somToken* retValue,
  1136.         somId methodId,
  1137.         ...)
  1138. {
  1139.    va_list ap;
  1140.    va_start(ap, methodId);
  1141.       boolean __somResult = 
  1142.       (boolean) SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somClassDispatch)
  1143.     (this,clsObj,retValue,methodId,ap);
  1144.    va_end(ap);
  1145.    return __somResult;
  1146. }
  1147.  
  1148. /* method: somCastObj */
  1149. boolean   somCastObj(SOMClass* cls)
  1150. {
  1151.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCastObj)
  1152.     (this,cls);
  1153. }
  1154.  
  1155. /* method: somResetObj */
  1156. boolean   somResetObj()
  1157. {
  1158.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somResetObj)
  1159.     (this);
  1160. }
  1161.  
  1162. /* method: somPrintSelf */
  1163. SOMObject*   somPrintSelf()
  1164. {
  1165.    return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somPrintSelf)
  1166.     (this);
  1167. }
  1168.  
  1169. /* method: somDumpSelf */
  1170. void   somDumpSelf(long level)
  1171. {
  1172.    SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDumpSelf)
  1173.     (this,level);
  1174. }
  1175.  
  1176. /* method: somDumpSelfInt */
  1177. void   somDumpSelfInt(long level)
  1178. {
  1179.    SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDumpSelfInt)
  1180.     (this,level);
  1181. }
  1182.  
  1183. };   /* HIRadioButtonGroup */
  1184.  
  1185.  
  1186.  
  1187. #endif       /* SOM_HIRadioButtonGroup_xh */
  1188.